package com.ydm.fire_fighting_web.modules.management.managementInstitutions.service;

import com.ydm.fire_fighting_web.entity.management.MIListRequest;
import com.ydm.fire_fighting_web.entity.management.ManagementInstitutions;
import com.ydm.fire_fighting_web.exception.response.QueryResult;
import com.ydm.fire_fighting_web.exception.response.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ManagementInstitutionsService {
    public QueryResult<ManagementInstitutions> findAll();

    public QueryResult<ManagementInstitutions> findListByPage(Integer page, Integer size, MIListRequest miListRequest);

    ResponseResult save(ManagementInstitutions managementInstitutions);

    ManagementInstitutions findById(String id);

    ResponseResult update(String id,ManagementInstitutions managementInstitutions);

    ResponseResult batchImport(String fileName, MultipartFile file);
}
